package com.bdd.service;

import com.bdd.common.AjaxResponseResult;
import com.bdd.dto.ContactDto;
import com.bdd.dto.IdentityDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author Bdd
 * @Description
 * @Date 2020/4/2 3:40
 */
@Component
@FeignClient(value = "SERVERC")
public interface ContactFeignService {

    @PostMapping("contact/save")
    AjaxResponseResult save(@RequestBody ContactDto contactDto);

}
